package com.ruge.api.trade.dto.request;

import com.ruge.api.trade.enums.PayChannelEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * description: NativePayReqDTO
 * create time at 2024/4/23 21:55
 *
 * @author alice.ruge
 * @since 0.0.3
 */

@Data
public class NativePayReqDTO {

    @ApiModelProperty(value = "商户号", required = true)
    private Long enterpriseId;
    @ApiModelProperty(value = "业务系统标识", required = true)
    private String productAppId;
    @ApiModelProperty(value = "业务系统订单号", required = true)
    private Long productOrderNo;

    @ApiModelProperty(value = "支付渠道", required = true)
    private PayChannelEnum tradingChannel;

    @ApiModelProperty(value = "交易金额，单位：元", required = true)
    private BigDecimal tradingAmount;

    @ApiModelProperty(value = "备注，如：运费", required = true)
    private String memo;

    @ApiModelProperty(value = "是否切换支付渠道", required = true)
    private boolean changeChannel=false;

}